package com.itheima.boottlias.aop;

import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;

/**
 * @author ghy
 * @version 1.0
 * @since 2025-07-18 10:34
 */
// @Slf4j
// @Component
// @Aspect
// @Order(2)
public class MyAspect1 {

    @Pointcut("execution(* com.itheima.boottlias.service.impl.DeptServiceImpl.*(..))")
    public void pt(){}

    @Before("pt()")
    public void beforeMsg() {
        System.out.println("MyAspect1 beforeMsg");
    }

}
